﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;

namespace NP.BPMReportPlatform.Entities.BPM_Business
{
    /// <summary>
    /// 排课平台预算数据导入
    /// </summary>
    public class PKBudgetData
    {
        /// <summary>
        /// 唯一ID
        /// </summary>
        // [SugarColumn(IsPrimaryKey = true)]
        [SugarColumn(IsPrimaryKey = true, IsNullable = false)]
        public Guid Id { get; set; }

        /// <summary>
        /// 年份
        /// </summary>
        public string Year { get; set; }

        /// <summary>
        /// 月份
        /// </summary>
        public string Month { get; set; }

        /// <summary>
        /// 学校/部门
        /// </summary>
        public string SchoolName { get; set; }

        /// <summary>
        /// 学校/部门编号
        /// </summary>
        public string SchoolCode { get; set; }
        /// <summary>
        /// 区域
        /// </summary>
        public string Area { get; set; }
        
        /// <summary>
        /// 预算
        /// </summary>
        public decimal? Budget { get; set; }

        /// <summary>
        /// 预估
        /// </summary>
        public decimal? Estimate { get; set; }

        /// <summary>
        /// 实际
        /// </summary>
        public decimal? Practical { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; } = DateTime.Now;

        /// <summary>
        /// 创建人
        /// </summary>
        public string CreateUser { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime UpdateTime { get; set; } = DateTime.Now;

        /// <summary>
        /// 修改人
        /// </summary>
        public string UpdateUser { get; set; }
    }
}
